<!DOCTYPE html>

<html lang="${lang}">
    <head>
        <title>#{get 'title' /}</title>
        <meta charset="UTF-8" />
        <link rel="shortcut icon" type="image/png" href="@{'/public/images/favicon.png'}">
        #{css 'main', output:'all'/}
        #{css 'crud', output:'all'/}
        #{css 'arcadia', output:'all'/}
        #{get 'moreStyles' /}
        #{get 'moreScripts' /}
    </head>
    <body id="crud">

       <div id="crudHeader">
        <img src="/public/images/logo.png" alt="ARCADIA" height="61" >
       </div>
            <div id="crudBreadcrumb">
                #{crud.navigation user:user/}
            </div>

#{if flash.success}
            <div class="crudFlash flashSuccess">
                ${flash.success}
            </div>
#{/if}
#{if flash.error || error}
            <div class="crudFlash flashError">
                ${error ?: flash.error}
            </div>
#{/if}

        <div id="crudContent">
			#{doLayout /}
        </div>

        <div id="crudFooter">
        	<img src="/public/images/logo_ftr.gif" alt="ARCADIA" width="116" height="47">
       		<span>
       			&{'layout.footer.leyend.1'} <br> 
      			&{'layout.footer.leyend.2'}
      		</span>
      		<img src="/public/images/marca.png" alt="ARCADIA" width="116" height="47"> 			        
        </div>

    </body>
</html>
